package unit2;


public class Ex2_25_GetCharsDemo {
    public static void main(String[] args) {
        String str = "This is a demo of the getChars method.";
        int start = 10;
        int end = 14;
        char substr[] = new char[end - start];
        str.getChars(start, end, substr, 0);
        System.out.println(substr);
    }

}
